home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3331 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  655 b 

  1. Path: fohnix.metronet.com!not-for-mail
  2. From: milam@fohnix.metronet.com (Stan Milam)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: End of File
  5. Date: 27 Jan 1996 16:58:41 -0600
  6. Organization: Texas Metronet, Inc  (login info (214/488-2590 - 817/571-0400))
  7. Message-ID: <4eean1$aqg@fohnix.metronet.com>
  8. References: <4edr5q$8fi@baloo.pipex-sa.net>
  9. NNTP-Posting-Host: fohnix.metronet.com
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Unregistered (Unregistered@dial.pipex.co.za) wrote:
  13. : How does one set the file pointer to end of file on a binary file in C.
  14.  
  15. Try fseek() or lseek() depending on how you opened the file.  BTW, lseek()
  16. is not ANSI, but most libraries support it.
  17.